package com.jvm;


public class classBuild {
    public static void main(String[] args) {
        A a = new A();
        System.out.println(a.tmp);
    }

    private static class A{
         int tmp;
         static int tmp2;

         {
             tmp = 2;
         }

         static {
             tmp2 = 4;
         }

        public A(int tmp){
            this.tmp = tmp;
        }

        public A(){
            this.tmp = tmp2;
        }
    }

    private static class B extends  A{

        public B(int tmp) {
            super(tmp);
        }
    }
}
